package com.bai.shopping.member.feign;

import com.bai.shopping.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("shopping-coupon")  //开启feign远程调用 shopping-coupon：服务名称
public interface CouponFeignService {

    /**
     * 注意：远程调用要把路径写全
     * @return
     */
    @RequestMapping("/coupon/coupon/member/list")
    public R member();
}
